package de.koller.nadir.render.texture;

import de.koller.aframe.gl.ATexture;
import de.koller.oceanFramework.gl.util.ParticleTexture;
import org.lwjgl.opengl.GL11;

public class NGrid extends ATexture implements ATexture.ITextureBuilder {

	@Override
	protected void setUp( TextureParameters tparam ) {
		tparam.builder = this;
		tparam.magFilter = GL11.GL_NEAREST;
		tparam.size = 32;
	}

	@Override
	public void build( ParticleTexture texture ) {
		texture.clear( 0xff_ffffff );
		
//		int c = 0xff_808080;
//		for( int i = 0; i < texture.getWidth(); i++ ) {
//			texture.setPixel( c, i, 0 );
//			texture.setPixel( c, 0, i );
//		}
			
	}
	
}
